<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of UsuarioServicio
 *
 * @author JosLap
 */
class UsuarioServicio {
    //put your code here
    private $userDAO;
    
    public function __construct() {
        $this->userDAO = new UsuarioDAO();
    }   
    
    public function acceder($user, $pass) {
        $usuario = $this->userDAO->acceder($user, $pass);
        return $usuario;            
    }
    
}

?>
